/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package banaanvraag.tools.btm;

/**
 *
 * @author Luc
 */
public class Gridbit {
    /**
     * The type value, the class identifier.
     */
    private int type;
    
    /**
     * The meta value, the individual identifier.
     */
    private int meta;
    
    /**
     * Create a new Gridbit.
     * @param t The type value
     * @param m The meta value
     */
    public Gridbit(int t, int m) {
        type = t;
        meta = m;
    }
    
    /**
     * Get the gridbit's type
     * @return The type value
     */
    public int getType() {
        return type;
    }
    
    /**
     * Get the gridbit's meta
     * @return The meta value
     */
    public int getMeta() {
        return meta;
    }
    
    /**
     * Set the gridbit's type
     * @param t The type value
     */
    public void setType(int t) {
        type = t;
    }
    
    /**
     * Set the gridbit's meta
     * @param m The meta value
     */
    public void setMeta(int m) {
        meta = m;
    }
    
    @Override
    public String toString() {
        return "[" + type + "; " + meta + "]";
    }
}
